package com.dai.smalldemo.model.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Value;

import java.io.Serializable;

/**
 * Created with IntelliJ IDEA.
 *
 * @author： dkl
 * @date： 2023/12/31
 * @description：
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ToEmail implements Serializable {
    /**
     * 邮件接收方，可多人
     */
    @ApiModelProperty(value = "邮件接收方",required = true)
    private String[] tos;
    /**
     * 邮件主题
     */
    @ApiModelProperty(value = "邮件主题",required = false)
    private String subject;
    /**
     * 邮件内容
     */
    @ApiModelProperty(value = "邮件内容",required = true)
    private String content;

    //@Value("${spring.mail.username}")
    //private String from;

}
